package com.aiolos.spring05;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Session作用域
 */
@Controller
@RequestMapping
public class SessionController {

    @RequestMapping("testSession")
    @ResponseBody
    public String test(){
        return this.toString();
    }
}
